home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Mac OS USB DDK_v1.0.1 / Examples / USBModem / ModemStub.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-03  |  1.2 KB  |  39 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ModemStub.h
  3.  
  4.     Contains:    Definitions for the USB Modem Stub
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Written by:    
  9.                 
  10.     Copyright:    © 1995-1998 by Apple Computer, Inc., all rights reserved.
  11.  
  12.     File Ownership:
  13.  
  14.         DRI:                xxx put dri here xxx
  15.  
  16.         Other Contact:        xxx put other contact here xxx
  17.  
  18.         Technology:            USB
  19.  
  20. */
  21.  
  22. #ifndef    _MODEMSTUB_
  23. #define    _MODEMSTUB_
  24.  
  25. /********************************************************************************************/
  26. //
  27. //    Prototypes
  28. //
  29. /********************************************************************************************/
  30.  
  31. static OSStatus modemDriverValidateHW(USBDeviceRef device, USBDeviceDescriptor *desc);
  32. static OSStatus modemDriverInitInterface(UInt32 interfaceNum, USBInterfaceDescriptor *interfaceDesc, USBDeviceDescriptor *deviceDesc, USBDeviceRef device);
  33. static OSStatus modemDriverInitialize(USBDeviceRef device, USBDeviceDescriptorPtr pDesc, UInt32 busPowerAvailable);
  34. static OSStatus modemDriverFinalize(USBDeviceRef device, USBDeviceDescriptorPtr pDesc);
  35. static OSStatus ExpertEntryProc(ExpertNotificationProcPtr pExpertNotify);
  36. static OSStatus    modemDriverNotifyProc(UInt32 notification, void *pointer);
  37.  
  38. #endif
  39.